package cc.fs.zhihuapp.model;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by fostion on 2015/12/7.
 */
public class classb implements Parcelable {

    String a1;
    String []a2;
    classa objectA;
    classa[] arrayA;
    List<classa> classaList;

    public void showLast(){

    }

    public void showEndThing(String msg){

    }

    public classb() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.a1);
        dest.writeStringArray(this.a2);
        dest.writeParcelable(this.objectA, 0);
        dest.writeParcelableArray(this.arrayA, 0);
        dest.writeTypedList(classaList);
    }

    protected classb(Parcel in) {
        this.a1 = in.readString();
        this.a2 = in.createStringArray();
        this.objectA = in.readParcelable(classa.class.getClassLoader());
        this.arrayA = (classa[]) in.readParcelableArray(classa.class.getClassLoader());
        this.classaList = in.createTypedArrayList(classa.CREATOR);
    }

    public static final Creator<classb> CREATOR = new Creator<classb>() {
        public classb createFromParcel(Parcel source) {
            return new classb(source);
        }

        public classb[] newArray(int size) {
            return new classb[size];
        }
    };
}
